﻿CREATE TABLE [dbo].[tblCallOutcome] (
    [CallOutcomeID] INT       IDENTITY (1, 1) NOT NULL,
    [CallID]       INT       NOT NULL,
    [CallOutcomeCode]       INT       NOT NULL,
    [ts]                  TIMESTAMP NULL
);
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Provides a call outcome for records in the call history table.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCallOutcome';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Unique id', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCallOutcome',
	@level2type = N'COLUMN', @level2name = N'CallOutcomeID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Call ID. Provides a reference to tblCall', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCallOutcome',
	@level2type = N'COLUMN', @level2name = N'CallID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'CallOutcome ID.  See codeCallOutcome', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCallOutcome',
	@level2type = N'COLUMN', @level2name = N'CallOutcomeCode';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The timestamp of any activity in this table', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblCallOutcome',
	@level2type = N'COLUMN', @level2name = N'ts';

